package ysq.xyg.service;

import com.github.pagehelper.PageInfo;
import ysq.xyg.model.WebNavigation;

import java.util.List;

/**
 * Created by Yu Shengqiang on 2017/5/3.
 */
public interface WebNavigationService extends BaseService<WebNavigation> {
    //分页查询
    PageInfo<WebNavigation> page(WebNavigation webNavigation, int pageSize, int pageNum);
    //获取最大menuCode值
    String AcceptMaxMenuCode(String menuCode);
    //获取最大menuCode值
    String AcceptMaxMenuCode(String parentId, String menuGrade);
    List<WebNavigation> list(WebNavigation webNavigation);
    /***
     * 菜单左查询
     * @param webNavigation
     * @return
     */
    List<WebNavigation> selectEntityByLeft(WebNavigation webNavigation);
}
